using System;
using PCC.App;
using PCC.CQRS;

namespace PCC.Receiver.Notification
{
    public abstract class AbstractNotificationReceiver : IReceiver, IDisposable
    {
        protected readonly NotificationManager _notificationManager;

        protected AbstractNotificationReceiver(NotificationManager notificationManager)
        {
            _notificationManager = notificationManager;
        }

        public abstract void Action();

        /// <summary>
        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
        /// </summary>
        /// <filterpriority>2</filterpriority>
        public void Dispose()
        { }
    }
}